package service;

import java.util.List;
import java.util.Map;

import bean.Student;
/**
 * 服务层
 * @author fengtao
 *
 */
public interface StudentManager {
	//最基本增删改查
	public int insert(Student student);
	//最基本增删改查
	public int delete(Student student);
	//最基本增删改查
	public int update(Student student);
	//最基本增删改查
	public Student get(String no);
	//批量增删改查
	public int insertAll(Student[] studentArr);
	public int insertAll(List<Student> studentList);
	public int insertAll(Map<String, Student> studentMap);
	public List<Student> getStudentList(String name);
}
